<< CESGE.xlsm >>
This file calculates equilibrium Price Index for SE (Simple Economy), LT (Leontief Economy), CD (Cobb-Douglas Economy), and elastic CES (CES Economy), given normal productivity shocks.
1000 sample of 100 (sectoral) normal shocks are stored in N(0_1) sheet.
FB macro 
1) FB macro calls one sample of 100 sectoral normal shocks from N(0_1) and applies to ln(01) of GE3 sheet (cells D109:CY109).
Meanwhile GE3 sheet calculates Price Indices for four economies at cells B113:B116.
Note that Price Indices for SE, LT, CD are calcualted by closed formulae, while that of CES is calculated numerically via 200 recursive iterations.
2) FB macro records the results (Price Indices) in WORK sheet, then returns to task 1).
After running FB macro, WORK sheet is filled with the desired Price Indices for four economies.

<< qqplot.R >>
This program is for making Figures 2 and 3 from data file << datain.csv >> which is a csv copy of the WORK sheet from << CESGE.xlsm >>. 
